﻿<%@ Page Title="Home Page" Language="vb" MasterPageFile="~/Site.Master" AutoEventWireup="false"
    CodeBehind="list.aspx.vb" Inherits="AudiWiki._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <style type="text/css">
        .style1
        {
            font-weight: bold;
            font-size: medium;
        }
        .style2
        {
            font-size: medium;
        }
    </style>
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        &nbsp;</h2>
    <h2>
        &nbsp;Welcome to AUDIWIKI</h2>
    <h2>
        &nbsp;<a class="internal" 
            href="http://upload.wikimedia.org/wikipedia/commons/8/8e/Audi_AG.ogg" 
            style="text-decoration: none; color: rgb(11, 0, 128); background-image: none; background-position: initial initial; background-repeat: initial initial;" 
            title="Audi AG.ogg"><b>AUDI </b></a><span class="style1" 
            style="color: rgb(0, 0, 0); font-family: sans-serif; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 19.1875px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none;">&nbsp;designs, 
        engineers, manufactures and distributes automobiles and motorcycles.<span 
            class="Apple-converted-space">&nbsp;</span></span><b><b class="style2" 
            style="color: rgb(0, 0, 0); font-family: sans-serif; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 19.1875px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">Audi</b></b><span 
            class="style1" 
            style="color: rgb(0, 0, 0); font-family: sans-serif; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: 19.1875px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); display: inline !important; float: none;">oversees 
        worldwide operations from its headquarters in Ingolstadt, Bavaria, Germany. 
        Audi-branded vehicles are produced in seven production facilities worldwide.</span></h2>
    <p>
        &nbsp;&nbsp;AUDI brand has many car Ranges. Each range includes many models. Please choose 
        your favorate range:
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            DataKeyNames="ID" DataSourceID="AudiDB" AllowSorting="True" Height="158px" 
            style="margin-left: 197px" Width="187px">
            <Columns>
                <asp:HyperLinkField DataNavigateUrlFields="Details" 
                    DataNavigateUrlFormatString="{0}" DataTextField="Range" HeaderText="Range">
                <ControlStyle Font-Bold="True" Font-Size="Large" ForeColor="Maroon" />
                </asp:HyperLinkField>
                <asp:ImageField DataImageUrlField="Picture" HeaderText="Logo">
                    <ControlStyle Height="100px" Width="100px" />
                </asp:ImageField>
            </Columns>
        </asp:GridView>
        </p>
<p>
        <asp:SqlDataSource ID="AudiDB" runat="server" 
            ConnectionString="<%$ ConnectionStrings:AudiConn %>" 
            ProviderName="<%$ ConnectionStrings:AudiConn.ProviderName %>" 
            SelectCommand="SELECT * FROM [Ranges]"></asp:SqlDataSource>
</p>
<p>
        &nbsp;</p>
<p>
        &nbsp;</p>
</asp:Content>
